/**
 * Created by rui on 2015/1/29.
 */
function demo1Init(){
    $("#getBtn").bind("click", function () {
        $(this).css({"display":"none"});
        $("#section1_1").css({"background-image":"url('./images/demo1/2/background2.jpg')"});
        $("#info").css({"display":"block"});
    });

    $("#closeBtn").bind("click", function () {
        $("#getBtn").css({"display":"block"});
        $("#section1_1").css({"background-image":"url('./images/demo1/1/back.jpg')"});
        $("#info").css({"display":"none"});
    });

    $("#submitBtn").bind("click", function () {
        $isSubmit = 1;
        $("#info").css({"display":"none"});
        $("#section1_1").css({"background-image":"url('./images/demo1/3/back.jpg')"});
        $("#myArrow").attr("src","./images/demo1/3/arrow.png");
        $("#myArrow").parent().css({"width":"60%"});
        $("#myArrow").parent().css({"left":"20%"});
        $("#getBtn").css({"display":"none"});
    });
}
